package com.Springdemo.dao;

import com.Springdemo.enity.Fruit;
import com.Springdemo.enity.FruitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


public interface FruitMapper {
    long countByExample(FruitExample example);

    int deleteByExample(FruitExample example);

    int deleteByPrimaryKey(Integer id);


    int insert(Fruit record);

    int insertSelective(Fruit record);

    List<Fruit> selectByExample(FruitExample example);

    Fruit selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Fruit record, @Param("example") FruitExample example);

    int updateByExample(@Param("record") Fruit record, @Param("example") FruitExample example);

    int updateByPrimaryKeySelective(Fruit record);

    int updateByPrimaryKey(Fruit record);
}
